package com.hrcx.mystery.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <h1>奖品回收请求封装</h1>
 *
 * @author LinXiPeng
 * @className MysteryRecyclePrizeDto
 * @date 2021/12/10 15:08
 * Version 1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "奖品回收请求封装类")
public class MysteryRecyclePrizeDto implements Serializable {

    private static final long serialVersionUID = 8039079533915707190L;

    @ApiModelProperty(value = "记录编号")
    @NotNull(message = "记录编号不能为空")
    private Integer rid;

    @ApiModelProperty(value = "是否使用了回收卡")
    private Boolean useRecovery;
}